.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90rem;
  font-size: 1.6rem;
}
.container .change {
  align-self: flex-end;
  color: var(--theme-minor-color);
  font-size: 1.4rem;
}
.container .change .link {
  color: var(--theme-main-color);
  cursor: pointer;
}
.container .title {
  font-weight: bold;
  font-size: 3.5rem;
  margin-top: 6rem;
  margin-bottom: 2rem;
  color: var(--theme-main-color);
}
.container .description {
  color: var(--theme-minor-color);
}
.container form {
  margin-top: 6rem;
}
.container form div.item:not(.no-border) {
  width: 60rem;
  border: 1px solid #565656;
  height: 7rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  padding-left: 2rem;
  padding-bottom: 0.5rem;
  border-radius: 1.5rem;
  transition: all 0.3s linear;
  transition: border 0.2s linear;
}
.container form div.item:not(.no-border) .title {
  font-size: 1.6rem;
  font-weight: normal;
  margin: 0;
  color: var(--theme-minor-color);
}
.container form div.item:not(.no-border) input {
  outline: 0;
  border: 0;
  height: 5rem;
  font-size: 1.8rem;
}
.container form div.item.gender {
  margin: 2rem 0;
}
.container form div.item.gender .select {
  margin-left: 2rem;
  display: inline-block;
  background-color: #ededed;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 1.5rem;
  color: var(--theme-minor-color);
  cursor: pointer;
}
.container form div.item.gender .selected {
  background-color: var(--theme-bg-color);
  color: var(--theme-highlight-color);
}
.container form div.item .title:has(+input[required])::after {
  color: #ca4141;
  content: "*";
  font-size: 1.8rem;
}
.container form .tips {
  margin-top: -1rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  color: var(--theme-minor-color);
}
.container form div.item:focus-within {
  border: 1px solid var(--theme-main-color);
}
.container form div.item:not(.no-border).error {
  border: 1px solid var(--theme-error-color);
}
.container form div.item:not(.no-border).error .title {
  color: var(--theme-error-color);
}
.container form div.no-border.gender.error {
  color: var(--theme-error-color);
}
.container form div.item.error + .error-message {
  font-size: 1.4rem;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  margin-left: 1rem;
  color: var(--theme-error-color);
}
.container form div.item:not(:last-child) {
  margin-bottom: 2rem;
}
.container form button {
  margin: 4rem auto;
  display: block;
  background-color: var(--theme-bg-color);
  border: 0;
  width: 20rem;
  height: 5rem;
  color: var(--theme-highlight-color);
  font-size: 1.5rem;
  border-radius: 2.5rem;
  cursor: pointer;
}
.container .footer .link {
  color: var(--theme-main-color);
  cursor: pointer;
}
.container .footer .svg {
  width: 1.8rem;
  height: 1.8rem;
  cursor: pointer;
}
